module StaticPagesHelper
  
  def grey_frame(context, hr_key = false)
#      @context = context
#      @hr_key = hr_key
      render(:partial => "grey_frame", :locals => {:context => context,
                                                   :hr_key => hr_key})
  end
  
  
  def white_frame(context, hr_key = false)   
#      @context = context
#      @hr_key = hr_key    
      render(:partial => "white_frame", :locals => {:context => context,
                                                    :hr_key => hr_key})    
  end
  
  def header(header_text)
    render(:partial => "header", :locals => {:header_text => header_text})    
  end
  
end
